<div id="inspectionTaskDetailModel" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="inspectionTaskDetailModelLabel"
     aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="inspectionTaskDetailModelLabel">任务详情</h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class=" row">
                    <div class="col-lg-12">
                        <div class="ibox ">
                            <div class="table-responsive" style="margin-top:15px">
                                <table class="table table-striped">
                                    <thead>
                                    <tr>
                                        <th class="text-center">任务ID</th>
                                        <th class="text-center">巡检点ID</th>
                                        <th class="text-center">巡检点名称</th>
                                        <th class="text-center">巡检状态</th>
                                        <th class="text-center">巡检情况</th>
                                        <th class="text-center">巡检说明</th>
                                        <th class="text-right">巡检照片</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr v-for="taskDetail in inspectionTaskDetailInfo.taskDetails">
                                        <td class="text-center">{{taskDetail.taskDetailId}}</td>
                                        <td class="text-center">{{taskDetail.inspectionId}}</td>
                                        <td class="text-center">{{taskDetail.inspectionName}}</td>
                                        <td class="text-center">{{taskDetail.stateName}}</td>
                                        <td class="text-center">{{taskDetail.patrolTypeName}}</td>
                                        <td class="text-center">{{taskDetail.description}}</td>
                                        <td class="text-right ">
                                            <span v-for="_photo in taskDetail.photos">
                                                <img style="width: 60px; height: 60px;" v-bind:src="_photo.url"  v-on:click="openFile(_photo)"></img>
                                            </span>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                <!-- 分页 -->
                                <vc:create namespace="inspectionTaskDetail" path="frame/paginationPlus"></vc:create>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <vc:create path="common/viewImage"></vc:create>
</div>
